<template>
  <div class="my-data-picker">
    <el-date-picker v-bind="attr" v-model="form[attr.prop]"></el-date-picker>
  </div>
</template>

<script>
export default {
  name: "MyDataPicker",
  props: {
    attr: {
      type: Object,
      default: () => { }
    },
    form: {
      type: Object,
      default: () => { }
    }
  }
};
</script>
<style scoped lang="scss"></style>